<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>万座网旅游分销平台-密码修改</title>
<link href="../style/frame.css" rel="stylesheet" type="text/css" />
<link href="../style/common2.css" type="text/css" rel="stylesheet" />
<link href="../style/mainStyle.css" type="text/css" rel="stylesheet" />
<script src="../js/jquery-1.5.1.min.js" type="text/javascript"></script>
<script src="../js/common.js" type="text/javascript"></script>
</head>

<body>
<div class="mainbody">	
	<!--子目录导航-->
    <div class="subnav">您当前位置：密码修改</div>	
    
    
    <!--景点列表-->
    <div class="prod_list list">
    <form name="pwdform" id="pwdform" method="post" action="password.php?act=update">
    <table width="100%" border="0" cellpadding="3" cellspacing="1"  style="margin:0px; border:0px;">
          <col width="160" />
          <col width="160" />
          <col />
          <thead>
              <tr>
                <td colspan="2" style="text-align:left; font-size:14px;">密码修改</td>
              </tr>
          </thead>
          <tbody>  
              <tr>
                  <td width="9%" style="text-align:left;">原来密码</td>
                  <td width="91%" style="text-align:left; padding:10px;"><input type="password" name="oldpassword" id="oldpwd" class="login_input" /></td>
            </tr>
            <tr>
                  <td width="9%" style="text-align:left;">新密码</td>
                  <td style="text-align:left; padding:10px;"><input type="password" name="newpassword" id="newpwd" class="login_input"  /></td>
            </tr>
            <tr>
                  <td width="9%" style="text-align:left;">重复密码</td>
                  <td style="text-align:left; padding:10px;"><input type="password" name="anewpassword" id="newpwd2" class="login_input"  /></td>
            </tr>
            
             <tr>
                  <td width="9%" style="text-align:left;">&nbsp;</td>
                  <td style="text-align:left; padding:10px; padding-left:40px;"><input type="button" value="" class="sub_btn" onclick="subChk()" /></td>
            </tr>
        </tbody>
       
      </table>
      </form>
    </div>
</div>
<script>
	function subChk(){
		if($("#oldpwd").val()==''){
			alert('原来密码不能为空！');
			$("#oldpwd").focus();
			return false;
		}
		if($("#newpwd").val()==''){
			alert('新密码不能为空！');
			$("#newpwd").focus();
			return false;
		}
		if($("#newpwd2").val()==''){
			alert('重复密码不能为空！');
			$("#newpwd2").focus();
			return false;
		}
		if($("#newpwd").val()!=$("#newpwd2").val()){
			alert('新密码和重复密码不一致，请重新填写！');
			$("#newpwd2").focus();
			return false;	
		}
		$("#pwdform").submit();
	}
</script>
<!-- 7caihu.com Baidu tongji analytics -->
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fb8797ecb21d1ccb839c35b190277a0cd' type='text/javascript'%3E%3C/script%3E"));
</script>
</body>
</html>
